﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace U9API.Pub
{
    public class ConfigHelper
    {
        public static string ConnectionString
        {
            get
            {
                string _str = System.Web.Configuration.WebConfigurationManager.AppSettings["ConnectionString"];
                if (String.IsNullOrEmpty(_str))
                    _str = ConfigurationManager.AppSettings["ConnectionString"];
                return _str;
            }
        }
    }
}
